@import "../../base/index";
html,
body {
  height: 100%;
}
body {
  min-width: 1200px;
  font-family: MicrosoftYaHei;
}
body a:hover {
  cursor: pointer;
  text-decoration: none;
}

// 右边具体内容:收货地址管理
.address.center{
  position: relative;
  height: 900px;
  margin-left: 20px;
  width: 920px;
  background: #fff;
  .addNewAddress{
    height: 60px;
    width: 100%;
    background: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
    color: #61b7fe;
    text-align: right;
    padding: 29px 68px 0 0;
    cursor: pointer;
  }
  // 表格
  .address-table {
    margin-bottom: 25px;
    tr{
      position: relative;
      &.table-first {
        display: inline-block;
        height: 30px;
        width: 920px;
        background-color: #eef1f4;
        th {
          display: inline-block;
          line-height: 30px;
          font-size: 12px;
          color: #999999;
          position: absolute;
          &:nth-child(1) {
            left: 60px;
          }
          &:nth-child(2) {
            left: 175px;
          }
          &:nth-child(3) {
            left: 345px;
          }
          &:nth-child(4) {
            left: 568px;
          }
          &:nth-child(5) {
            left: 775px;
          }
        }
      }
      &:not(.table-first){
        display: inline-block;
        width: 880px;
        height: 60px;
        margin-left: 20px;
        line-height: 60px;
        font-size: 14px;
        color: #333333;
        box-shadow: inset 0px -1px 0px 0px rgba(214, 216, 229, 0.5);
        td{
          position: absolute;
          &:nth-child(1) {
            left: 40px;
          }
          &:nth-child(2) {
            left: 155px;
          }
          &:nth-child(3) {
            left: 325px;
          }
          &:nth-child(4) {
            left: 548px;
          }
          &:nth-child(5) {
            left: 755px;
            a{
              color: #59c2ff;
            }
            i{
              cursor: pointer;
              margin-left: 28px;
              width: 10px;
              height: 10px;
              color: #f72b51;
            }
          }
        }
      }
    }

  }
  // 页码区
  .changepage{
    position: absolute;
    font-size: 0px;
    line-height: 20px;
    left: 60px;
    bottom:45px;
    a{
      font-family: MicrosoftYaHei;
      font-size: 12px;
      color: #999999;
      float: left;
      margin-right: 20px;
      &:last-child{
        margin-right: 0px
      }
    }
    ul{
      float: left;
      margin-right: 20px;
      li.active a{
        width: 20px;
        height: 20px;
        background-color: #0398e5;
        border-radius: 4px;
        color: #fff;
        text-align: center;
      }
    }
  }
  // 新增收货按钮
  .btnaddress{
    display: block;
    margin-top: 60px;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 40px;
    background-color: #61b7fe;
    border-radius: 19px;
    font-size: 16px;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
  }
}
// 右边具体内容:收货地址增加
.addaddress.center{
  display: none;
  height: 900px;
  margin-left: 20px;
  width: 920px;
  background: #fff;
  padding: 60px 0 0 60px;
  clear: both;
  h2{
    font-size: 16px;
    margin-bottom: 28px;
    color: #333333;
  }
  h3{
    margin-bottom: 31px;
    font-size: 12px;
    color: #999999;
  }
  .address-select{
    position: relative;
    margin-right: 29px;    
    width: 240px;
    height: 40px;
    display: inline-block;
    margin-bottom: 40px;
    &.open .dropdown-toggle.btn-default{
      background: #fafdfd;
    }
    button{ 
      width: 240px;
      height: 40px;
      &:hover,&:focus{
        background: #fafdfd;
      }
      &:active{
        background: #fafdfd;
      }
      .buttonText{
        float: left;
      }
      .caret{
        float: right;
        margin-top: 9px;
      }
    }
    &:last-child{
      margin-right: 0px;
    }
    li{
      width: 235px;
      height: 30px;
    }
  }
  select{
    width: 240px;
    height: 40px;
    font-size: 12px;
    color: #333333;
    padding-left: 17px;
    appearance:none;
	  -moz-appearance:none; 
	  -webkit-appearance:none;  
    cursor: pointer; 
    option{
      height: 40px;
      line-height: 40px
    }
  }
  i{
    position: absolute;
    font-size: 8px;
    right: 22px;
    top: 15px;
    color: #000000;
  }
  & .box{
    width: 376px;
    height: 82px;
    float: left;
    margin-right: 34px;
    &:last-child{
      margin-right: 0px;
    }
    input{
      width: 376px;
      height: 40px;
      border-radius: 4px;
      border: solid 1px #eeeeee;
    }
  }
  h3.addaddress-last{
      margin-top: 122px;
  }
  input[name="address"]{
    width: 786px;
    height: 40px;
    border-radius: 4px;
    border: solid 1px #eeeeee;
  }
  input{
    padding-left: 10px;
    &:focus{
      border: 1px solid #61b7fe;
    }
  }
  .saveaddress{
    width: 160px;
    height: 40px;
    background-color: #61b7fe;
    border-radius: 20px;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    border: none;
    margin-top: 64px;
    margin-left: 380px;
    cursor: pointer;
  }
}